<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\widgets\LinkPager;

$this->title = '我的消息';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="Weizhi">
         <span>当前位置 : </span><a href="#">首页 > </a><a href="#">政策法规
</div>
    
    <div id="Contet">
        <?= $this->render('left.php'); ?>
         
         <div id="Zhong" style=" width:980px;">
              <div id="Tile">
                   <h3><?= $message['title'];?></h3>
                   <div><font>发布时间：<?= date('Y-m-d',$message['created_at']);?></font><span style="display: inline-flex;">分享到 : <div style="margin-left: 10px;" class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
              <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script></script></span></div>
              </div>
              <div class="Box">
                <?= $message['content'];?>
                  <div class="pian"><a href="<?= yii\helpers\Url::to(['member/messagepage', 'id' => $lastone['id']]); ?>">上一篇：<?= mb_substr(strip_tags($lastone['name']),0,10,'utf-8'); ?><?php if(strlen($lastone['name']) > 40) { echo '...'; } ?></a><a  style="float:right" href="<?= yii\helpers\Url::to(['member/messagepage', 'id' => $nextone['id']]); ?>">下一篇：<?= mb_substr(strip_tags($nextone['name']),0,10,'utf-8'); ?><?php if(strlen($nextone['name']) > 40) { echo '...'; } ?></a></div>
              </div>   
        </div>
        <div style="clear:both"></div>
    </div>
        